<?php
namespace App\Http\Controllers\V1;

use App\Helpers\Http\HttpClient;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Helpers\Utils;
use App\Helpers\RestUtils;
use App\Helpers\Http\HttpCurl;
use App\Helpers\RestResponseFactory;
use App\Models\Orm\VipNews;
use App\Models\Orm\Product;
use App\Models\Orm\Welfare;
use App\Models\Orm\Majiahao;
use App\Models\Orm\Advertsing;
use App\Models\Orm\ProductMajiahao;
use App\Models\Orm\VersionMajiahao;
use App\Models\Orm\DataProductApply;
use App\Models\Factory\UserFactory;
use App\Models\Factory\IdentityFactory;

/**
 * 马甲号
 * Class MhomeController
 * @package App\Http\Controllers\V2
 */
class MjhController extends Controller
{
    /**
     * 产品列表
     * @param Request $request
     * @return \Illuminate\Http\JsonResponse
     */
    public static function product(Request $request)
    {
            $url  = 'http://api.anwenqianbao.com/v2/vest/product';
			$data = \GuzzleHttp\json_decode(HttpCurl::i()->POST($url),true);
            dd($data['data']);



    }

}